home *** CD-ROM | disk | FTP | other *** search
-
-
-
- pppptttthhhhrrrreeeeaaaadddd____ddddeeeettttaaaacccchhhh((((3333PPPP)))) pppptttthhhhrrrreeeeaaaadddd____ddddeeeettttaaaacccchhhh((((3333PPPP))))
-
-
-
- NNNNAAAAMMMMEEEE
- pthread_detach - detach a thread
-
- CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<pppptttthhhhrrrreeeeaaaadddd....hhhh>>>>
-
- iiiinnnntttt pppptttthhhhrrrreeeeaaaadddd____ddddeeeettttaaaacccchhhh((((pppptttthhhhrrrreeeeaaaadddd____tttt tttthhhhrrrreeeeaaaadddd))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _p_t_h_r_e_a_d__d_e_t_a_c_h() function causes the thread identified by _t_h_r_e_a_d to
- be detached. This means that storage created by the library on behalf of
- the thread will be reclaimed when the thread terminates. A detached
- thread cannot be the target of _p_t_h_r_e_a_d__j_o_i_n().
-
- A thread can be created in detached state using
- _p_t_h_r_e_a_d__a_t_t_r__s_e_t_d_e_t_a_c_h_s_t_a_t_e(). It can also be implicitly detached using
- _p_t_h_r_e_a_d__j_o_i_n().
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- On success _p_t_h_r_e_a_d__d_e_t_a_c_h() returns zero; otherwise an error number is
- returned:
-
- [[[[EEEESSSSRRRRCCCCHHHH]]]] The _t_h_r_e_a_d parameter does not identify a thread.
-
- [[[[EEEEIIIINNNNVVVVAAAALLLL]]]] The thread identified by _t_h_r_e_a_d is already detached.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- pthread_join(3P), pthread_attr_setdetachstate(3P).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-